﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteAdministrador.Master" AutoEventWireup="true" CodeBehind="frmproducto.aspx.cs" Inherits="proyectoferreteria.frmproducto" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .style16
        {
            width: 67px;
            height: 41px;
        }
        .style17
        {
            width: 78px;
            height: 41px;
        }
        .style18
        {
            width: 69px;
            height: 41px;
        }
        .style15
        {
            width: 64px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width:100%;">
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:TextBox ID="txbidproducto" runat="server" Enabled="False" Height="22px" 
                    Visible="False" Width="200px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Names="Consolas" 
                    Font-Size="Large" ForeColor="#CC9900" Text="Nombre"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txbnombprod" runat="server" Height="20px" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txbnombprod" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Names="Consolas" 
                    Font-Size="Large" ForeColor="#CC9900" Text="Precio venta"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txbpv" runat="server" Height="20px" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txbpv" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToValidate="txbpv" Display="Dynamic" ErrorMessage="(entero)" 
                    ForeColor="Red" Operator="DataTypeCheck" Type="Double"></asp:CompareValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Names="Consolas" 
                    Font-Size="Large" ForeColor="#CC9900" Text="Precio compra"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txbpc" runat="server" Height="20px" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txbpc" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator2" runat="server" 
                    ControlToValidate="txbpc" Display="Dynamic" ErrorMessage="(entero)" 
                    ForeColor="Red" Operator="DataTypeCheck" Type="Double"></asp:CompareValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Names="Consolas" 
                    Font-Size="Large" ForeColor="#CC9900" Text="Cantidad"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txbcant" runat="server" Height="20px" Width="200px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txbcant" ErrorMessage="*" ForeColor="Red"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator3" runat="server" 
                    ControlToValidate="txbcant" Display="Dynamic" ErrorMessage="(entero)" 
                    ForeColor="Red" Operator="DataTypeCheck" Type="Double"></asp:CompareValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label6" runat="server" Font-Bold="True" Font-Names="Consolas" 
                    Font-Size="Large" ForeColor="#CC9900" Text="Imagen"></asp:Label>
            </td>
            <td>
                <asp:FileUpload ID="FileUpload1" runat="server" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label7" runat="server" Font-Bold="True" Font-Names="Consolas" 
                    Font-Size="Large" ForeColor="#CC9900" Text="Marca"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="cbmarca" runat="server" Height="25px" Width="200px">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label8" runat="server" Font-Bold="True" Font-Names="Consolas" 
                    Font-Size="Large" ForeColor="#CC9900" Text="Subcategoria"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="cbsubcateg" runat="server" Height="25px" Width="200px">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label9" runat="server" Font-Bold="True" Font-Names="Consolas" 
                    Font-Size="Large" ForeColor="#CC9900" Text="Descripcion"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txbdescrip" runat="server" Height="30px" Width="300px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Label ID="Label10" runat="server" Font-Size="Medium" ForeColor="#FF0066"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="btnregistrar" runat="server" Height="36px" Text="Registrar" 
                    Width="88px" onclick="btnregistrar_Click" />
                <asp:Button ID="btnmodificar" runat="server" Height="36px" Text="Modificar" 
                    Width="88px" onclick="btnmodificar_Click" />
                <asp:Button ID="btnimprimir" runat="server" Height="36px" Text="Imprimir" 
                    Width="88px" onclick="btnimprimir_Click" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
